///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Sep  8 2010)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "Klein.h"

///////////////////////////////////////////////////////////////////////////

WorkspaceFrame::WorkspaceFrame( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxFrame( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	mMenuBar = new wxMenuBar( 0 );
	this->SetMenuBar( mMenuBar );
	
	mStatusBar = this->CreateStatusBar( 1, wxST_SIZEGRIP, wxID_WORKSPACE_STATUSBAR );
	wxBoxSizer* sizer;
	sizer = new wxBoxSizer( wxVERTICAL );
	
	mGLCanvas = new GLCanvas(this, wxID_WORKSPACE_CANVAS, glArgs);
	sizer->Add( mCanvas, 0, wxALL, 5 );
	
	this->SetSizer( sizer );
	this->Layout();
	
	this->Centre( wxBOTH );
}

WorkspaceFrame::~WorkspaceFrame()
{
}

Editor::Editor( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxFlexGridSizer* flexGridSizer;
	flexGridSizer = new wxFlexGridSizer( 2, 3, 0, 0 );
	flexGridSizer->AddGrowableCol( 0 );
	flexGridSizer->AddGrowableCol( 1 );
	flexGridSizer->AddGrowableCol( 2 );
	flexGridSizer->SetFlexibleDirection( wxBOTH );
	flexGridSizer->SetNonFlexibleGrowMode( wxFLEX_GROWMODE_ALL );
	
	this->SetSizer( flexGridSizer );
	this->Layout();
	
	this->Centre( wxBOTH );
}

Editor::~Editor()
{
}
